﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<Style x:Key="ButtonHeroStyle" TargetType="{x:Type Button}">
		<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
		<Setter Property="Background">
			<Setter.Value>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFFFFFFF" Offset="0"/>
					<GradientStop Color="#FFF0F0EA" Offset="0.9"/>
				</LinearGradientBrush>
			</Setter.Value>
		</Setter>
		<Setter Property="BorderBrush" Value="#FF003C74"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Value="{DynamicResource ButtonHeroTemplate}" Property="Template"/>
	</Style>
	<ControlTemplate x:Key="ButtonHeroTemplate" TargetType="{x:Type Button}">
		<Grid Width="Auto" Height="Auto">
			<Grid.RowDefinitions>
				<RowDefinition Height="*"/>
			</Grid.RowDefinitions>
			<Border BorderThickness="5,5,5,5" CornerRadius="{DynamicResource CornerRadiusSmall}" Opacity="0" x:Name="border1" BorderBrush="#FFD0DECB"/>
			<Border BorderBrush="{x:Null}" CornerRadius="{DynamicResource CornerRadiusSmall}" Grid.RowSpan="1" Background="{x:Null}" x:Name="border" Opacity="1" BorderThickness="4,4,4,4">
				<ContentPresenter/>
			</Border>
		</Grid>
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="true">
				<Setter Property="Opacity" TargetName="border1" Value="1"/>
			</Trigger>
			<Trigger Property="IsPressed" Value="true">
				<Setter Property="Opacity" TargetName="border1" Value="1"/>
				<Setter Property="BorderBrush" TargetName="border1" Value="#FF72806E"/>
			</Trigger>
		</ControlTemplate.Triggers>
	</ControlTemplate>
	<!-- Resource dictionary entries should be defined here. -->
</ResourceDictionary>